import axios from 'axios';
import {postAction } from './axiosFun';

// 获取报警数据
export const getAlarmList = (params) => { return postAction("/etung_iot/alarm/selectAlarm", params)};
//获取项目列表
export const getProjectList = (params) => {return postAction("/etung_iot/project/query",params)};
//获取BOX列表
export const getBoxList = (params) => {return postAction("/etung_iot/project/selectBox",params)};
//确认报警
export const updateAlarmWarning = (params) => {return postAction("/etung_iot/alarm/ackAlarm",params)};